{literal}
	<script>
		function gotoPage(url){
			var ruleConfirmform = document.forms[0];
			ruleConfirmform.action=url;
			window.console.info(ruleConfirmform.action);
			ruleConfirmform.submit();
		}
	</script>
{/literal}
<div class="MainContent">
	<form  name="RuleConfirm" method="post">	
	<div class="box1 Box1Style2"><span class="Box1Text">Add listing rules</span></div>
	<div  class="box2" style="padding: 5px;">
		<table cellspacing="0" border="0" width="100%">
			<tr>
				<td align="justify">
					{include file="rules/AddProgramRules.html"}
				</td>
			</tr>
			<tr>
				<td align="center">
					<input type="submit" class="sbmt" value="Yes, I gree" />
					<input type="button" class="sbmt" value="No, thanks" onclick="gotoPage('{$settings.site_url}')"  />
				</td>
			</tr>
		</table>
	</div>
		<input type="hidden" name="display" value="add" />
	</form>
</div>
